<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN" manifest="/misc/wei_cache_new.manifest">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<title>我的消费记录</title>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/member/themes/fashion/css/user.css" />
</head>
<body>
<div class="body">
  <div class="backg" style="min-height: 470px;padding-bottom: 10px;">
   	<c:if test="${ myConsumeList  != null }">
   	
   	<c:forEach items="${ myConsumeList }" var="prize" varStatus="i">
   	<a href="${ctxFront}/member/qrcode?uid=${uid}&wechatId=${wechatId}&style=${style}&codeID=${prize.qrcode_id}&topage=${topage}&name=${prize.name}">
   	<div class="te-jl">  
        <div class="te-time"><fmt:formatDate value="${prize.update_time }" type="date" dateStyle="default"/></div>
        <div class="te-sp">兑换商品：
        <b>
        	
	        ${fn:substring(prize.name,0,6)}
			<c:if test="${fn:length(prize.name)>6}">...</c:if>
		
				<strong>
							<span style="color: #999999;font-size:12px;">
								<c:if test="${prize.lottery == 'lottery'}">
								(在线奖品)
								
								</c:if>
								
								<c:if test="${prize.lottery == 'exchange'}">
								(积分兑换)
								
								</c:if>
								
								<c:if test="${prize.lottery == 'coupon'}">
								(优惠券)
								
								</c:if>
								
								<c:if test="${prize.lottery == 'seckill'}">
								(在线秒杀)
								
								</c:if>
								</span>
								</strong>
		</b></div>  
      </div>
      	</a>
      </c:forEach>
      
   	</c:if>
   	<c:if test="${ myConsumeList  == null }">
   	<section class="w-goods" style="border-bottom:0px;">
    <div class="w-gooa" style="color:red; text-align: center;margin-to:30px;">
		暂无消费记录
    </div>
  </section>
   	 <!-- <div class="w-gooa" style="color:red; text-align: center;">
   
    </div> -->
   	</c:if>
</div>
    <c:if test="${uid ne '34' }">
		 <div class="footer">
        <p><!-- 版权所有&copy;&nbsp;&nbsp; --> <br>
		技术支持：<a href="http://www.hdzhx.com/boxin/index.html" >智讯互联</a><!-- &nbsp;&nbsp;	
		<a href="tel:03107056607">0310-7056607</a> -->
      </div>
	</c:if>
</div>
</body>
</html>
